package com.example.patient.jpa;

import com.example.common.entity.CMS;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author wxy
 * @Date 2021/1/19 17:14
 * @Version 1.0
 */
public interface CMSRepository extends JpaRepository<CMS, Long> {

    List<CMS> findByTypesIn(List<Integer> list);

    CMS findByTypes(Integer types);
}
